package com.lax.advertserver.service;

import com.lax.advertserver.bean.sys.RoleInfo;
import com.lax.advertserver.dao.sys.RoleInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl {

    @Autowired
    private RoleInfoMapper roleInfoMapper;

    public RoleInfo getRoleList(RoleInfo roleInfo){
        return roleInfoMapper.selectByPrimaryKey(roleInfo.getId());
    }

}
